import 'dart:io';
import 'package:device_info/device_info.dart';

class DeviceUtils {
  static DeviceInfoPlugin deviceInfo;
  static AndroidDeviceInfo androidInfo;

  static Future<String> getDeviceInfo() async {
    if (Platform.isIOS) {
      print("IOS");
    } else if (Platform.isAndroid) {
      deviceInfo = DeviceInfoPlugin();
      androidInfo = await deviceInfo.androidInfo;
    }
  }
}
